package com.bicon.botu.mall.component.mapper;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.bicon.botu.mall.component.entity.Information;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 消息 Mapper 接口
 *
 * @author 张凡
 * @date 2017/12/06 14:36
 */
@Repository
public interface InformationMapper extends BaseMapper<Information> {

    /**
     * 初始化最新两个月的用户系统消息到redis
     *
     * @return
     */
    List<Information> initSystemInformation();

}